﻿using System.Drawing;

namespace IssueIT.WebUI.Models
{
	public class ImageSize
	{
		public static readonly string ListImage = "ListImage";
		public static readonly string MaxSize = "MaxSize";

		public ImageSize(int width, int height)
		{
			Width = width;
			Height = height;
			BackgroundColor = "#FFFFFF";
			CanvasType = CanvasType.Fixed;
		}

		public int Width { get; private set; }
		public int Height { get; private set; }
		public string BackgroundColor { get; private set; }
		public CanvasType CanvasType { get; private set; }

		public Size Size
		{
			get
			{
				return new Size(Width, Height);
			}
		}
	}
}